const BASE_URL = 'https://wp.gzgqq.com/wp-json/wp/v2'
export function getPostList(obj) {
  return {
    url: BASE_URL + '/posts',
    method: 'get',
    params: obj
  }
}

export function getPostDes(id) {
  return {
    url: BASE_URL + `/posts/${id}`,
    method: 'get'
  }
}
